<template>
  <button  class="login-btn mt-8" >{{innerText.text}}</button>
</template>

<script setup lang="ts">

//传的是text
const innerText =defineProps({
     text:{
         type:String,
         default:"登录",

     } ,
   
     
})
 
</script>

<style scoped lang="scss">
  .login-btn{
    @apply bg-violet-700 text-white w-full 
         py-2 rounded-md  hover:bg-violet-400 duration-500
   }


</style>